package com.hospital.hl7package.module.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hospital.hl7package.module.entity.TimeTask;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface TimeTaskMapper extends BaseMapper<TimeTask> {

    List<Map<String,Object>> list(@Param("code") String code);

    void updateStatus(@Param("value") String value, @Param("update") Date update, @Param("count") int count, @Param("status") String status, @Param("id") String id);
}
